//package com.info.zhiduoduo.admin.controller;
//
//import com.info.zhiduoduo.admin.model.formbean.foreign.ChForeignProjectFromBean;
//import com.info.zhiduoduo.admin.model.formbean.foreign.ForeignProjectFromBean;
//import com.info.zhiduoduo.admin.service.ForeignProjectService;
//import com.info.zhiduoduo.common.constants.SmartResult;
//import com.info.zhiduoduo.common.formbean.BaseSimpleFormBean;
//import com.info.zhiduoduo.repository.dto.foreign.ForeignProjectDto;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
//import javax.servlet.http.HttpServletResponse;
//
//@Api(tags = "第三方项目")
//@RestController
//@RequestMapping("/foreign")
//public class ForeignProjectController {
//
//    @Autowired
//    ForeignProjectService foreignProjectService;
//
//    /**
//     * 第三方项目列表
//     * @param formBean
//     * @return
//     */
//    @PostMapping("/projectList")
//    public SmartResult<ForeignProjectDto> projectList(@RequestBody BaseSimpleFormBean<ForeignProjectFromBean> formBean){
//        return foreignProjectService.projectList(formBean);
//    }
//
//    @ApiOperation(value = "导出第三方项目列表列表", tags = "下载excel")
//    @GetMapping("/exportForeignProjectList")
//    public void exportForeignProjectList(HttpServletResponse response,ForeignProjectFromBean formBean){
//        foreignProjectService.exportForeignProjectList(response,formBean);
//    }
//
//    /**
//     * 传化查询项目草稿列表
//     * @param formBean
//     * @return
//     */
//    @ApiOperation("传化查询项目草稿列表")
//    @PostMapping("/queryCHProjectDraftList")
//    public SmartResult queryCHProjectDraftList(@RequestBody BaseSimpleFormBean<ChForeignProjectFromBean> formBean){
//        return foreignProjectService.queryCHProjectDraftList(formBean);
//    }
//}
